﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="StandardNemoBlogPost.ascx.cs" Inherits="blackhouse.NemoBlog.Web.StandardNemoBlogPost" %>
<%@ Register Namespace="blackhouse.WebNemo.Web.Controls" Assembly="blackhouse.WebNemo.Web" TagPrefix="blackhouse" %>

<div itemscope itemtype="http://schema.org/Blog">
        <article class="nemoPost" itemprop="blogPost" itemtype="http://schema.org/BlogPosting">
            <h1 itemprop="name">
                <asp:Literal runat="server" ID="ltlPost"></asp:Literal></h1>
            <asp:Panel runat="server" ID="pnlActionPanel" Visible="false">
                <ul class="nemoblogadminmenu">
                    <asp:PlaceHolder runat="server" ID="phRemoveLink" Visible="false">
                        <li>
                            <asp:LinkButton runat="server" ID="lnkRemove">Usuń</asp:LinkButton></li>
                    </asp:PlaceHolder>
                    <asp:PlaceHolder runat="server" ID="phPublishLink" Visible="false">
                        <li>
                            <asp:LinkButton runat="server" ID="lnkPublish">Opublikuj</asp:LinkButton>
                        </li>
                    </asp:PlaceHolder>
                    <asp:PlaceHolder runat="server" ID="phEditLink" Visible="true"></asp:PlaceHolder>
                    <li>
                        <blackhouse:LinkToEdit runat="server" ID="lteEditPost" Text="Edytuj post" />
                    </li>
                </ul>
                <div class="cleaner"></div>
            </asp:Panel>
            <div class="nemoPoPostData">
                <a class="ico"></a>Opublikowano
            <span itemprop="dateCreated" datetime="<asp:Literal runat="server" ID="ltlIsoPublishDate" />"><asp:Literal runat="server" ID="ltlPublishDate"></asp:Literal></span>
                przez:
            <span itemprop="author"><asp:Literal runat="server" ID="ltlPublisher"></asp:Literal></span>
                <asp:Repeater runat="server" ID="rptTags">
                    <HeaderTemplate>
                        <ul class="nemoPostTags">
                    </HeaderTemplate>
                    <ItemTemplate>
                        <li><a href="<%#Eval("WellFormedUrl") %>" title="<%#Eval("Tag.Title") %>"><%#Eval("Tag.Name") %></a></li>
                    </ItemTemplate>
                    <FooterTemplate>
                        </ul>

                    </FooterTemplate>
                </asp:Repeater>
            </div>
            <div class="nemoPostContent" itemprop="articleBody">
                <asp:Literal runat="server" ID="ltlPostContent"></asp:Literal>
            </div>
            <div class="nemoPostDownPromo">
                <div class="nemoAddThis">
                    <h4>Podobał Ci się post?</h4>
                    <p>Wyraź to i polub nas na Facebook, Google+ lub po prostu skorzystaj z dowolnego medium społecznościowego.</p>
                    <!-- AddThis Button BEGIN -->
                    <div class="addthis_toolbox addthis_default_style addthis_32x32_style">
                        <a class="addthis_button_preferred_1"></a>
                        <a class="addthis_button_preferred_2"></a>
                        <a class="addthis_button_preferred_3"></a>
                        <a class="addthis_button_preferred_4"></a>
                        <a class="addthis_button_compact"></a>
                        <a class="addthis_counter addthis_bubble_style"></a>
                    </div>
                    <script type="text/javascript">var addthis_config = { "data_track_addressbar": true };</script>
                    <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-50f0840161c3fad0"></script>
                    <!-- AddThis Button END -->
                </div>
                <asp:Panel runat="server" Visible="true" ID="pnlSimilarPosts" CssClass="nemoPostOtherArticles">
                    <h4>Zobacz więcej</h4>
                    <asp:Repeater runat="server" ID="rptSimilarPosts">
                        <HeaderTemplate>
                            <ul class="linkList">
                        </HeaderTemplate>
                        <ItemTemplate>
                            <li><a href="<%#Eval("WellFormedUrl") %>" title="<%#Eval("Post.Title") %>"><%#Eval("ShortTitle") %></a></li>
                        </ItemTemplate>
                        <FooterTemplate></ul></FooterTemplate>
                    </asp:Repeater>
                </asp:Panel>
                <div class="cleaner"></div>
            </div>
        </article>
    </div>